/**
 * Created by lenovo on 2017/8/16.
 */
app.config(function ($stateProvider,$urlRouterProvider) {
    $stateProvider.state("yi",{
        url:"/yi",
        templateUrl:"html/shouye.html"
    }).state("er",{
        url:"/er",
        templateUrl:"html/fenlei.html"
    }).state("san",{
        url:"/san",
        templateUrl:"html/mine.html"
    }).state('yi.yi',{
        url:'/yi.yi',
        templateUrl:'html/tuijian.html'
    }).state('yi.er',{
        url:'/yi.er',
        templateUrl:'html/gonglue.html'
    })
    $urlRouterProvider.otherwise("yi/yi.yi")
})